package org.chengn.definition;

/**
 * @Title: ListNode
 * @Author ChengN
 * @Package org.chengn.definition
 * @Date 2024/1/3 0:22
 * @description: 链表定义
 */
public class ListNode {
    public int val;
    public ListNode next;
    ListNode() {}
    public ListNode(int val) { this.val = val; }
    public ListNode(int val, ListNode next) { this.val = val; this.next = next; }
}
